FROM alpine:latest
WORKDIR /app

# 重点在下面两行, 时区问题处理
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories && apk add --no-cache tzdata
ENV TZ=Asia/Shanghai

ADD ./dist/rss_linux_amd64_v1/rss config.toml ./
ENTRYPOINT ["/app/rss"]